﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace W.M.Materiel.Domain.Entity
{
    /// <summary>
    /// bom物品关系表
    /// </summary>
    [SugarTable("bom_item_relation_table")]
    public class bom_item_relation_table
    {
        /// <summary>
        /// bom物品关系Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "bom物品关系Id")]
        public string? bom_indicates_relationship_id { get; set; }

        /// <summary>
        /// bom编号
        /// </summary>
        [SugarColumn(Length = 200, ColumnDescription = "bom编号")]
        public string? bom_number { get; set; }

        /// <summary>
        /// 产品和物料编号
        /// </summary>
        [SugarColumn(Length = 200, ColumnDescription = "产品和物料编号")]
        public string? product_material_numbers { get; set; }

        /// <summary>
        /// 配件数量
        /// </summary>
        [SugarColumn(ColumnDescription = "配件数量")]

        public int number_parts { get; set; }

        /// <summary>
        /// 损耗率
        /// </summary>
        [SugarColumn(ColumnDescription = "损耗率")]

        public decimal attrition_rate { get; set; }

        [SugarColumn(ColumnDescription = "小时产量")]
        public int TimeNum { get; set; }
    }
}
